package com.snailvr.tv.network.entity;

import java.util.List;

/**
 * Created by Administrator on 2017/1/18.
 */

public class RoomInfoBean {

    /**
     * id : 1
     * name : xxx
     * thumb : xxx
     * desc : xxx
     * charge : true
     * charge_strategy : {"price":10,"discount":[{"month":5,"discount":0.75}]}
     * living : true
     * online : 100
     * tag : xxx
     * u3d_bg : xxx
     * view_angle : 89
     * project_style : 0
     * control_model : 0
     * eye_style : 0
     */

    private int id;
    private String name;
    private String thumb;
    private String desc;
    private boolean charge;
    /**
     * price : 10
     * discount : [{"month":5,"discount":0.75}]
     */

    private ChargeStrategyBean charge_strategy;
    private boolean living;
    private int online;
    private String tag;
    private String u3d_bg;
    private int view_angle;
    private int project_style;
    private int control_model;
    private int eye_style;
    private int dome_horizontal;
    private int dome_vertical;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public boolean isCharge() {
        return charge;
    }

    public void setCharge(boolean charge) {
        this.charge = charge;
    }

    public ChargeStrategyBean getCharge_strategy() {
        return charge_strategy;
    }

    public void setCharge_strategy(ChargeStrategyBean charge_strategy) {
        this.charge_strategy = charge_strategy;
    }

    public boolean isLiving() {
        return living;
    }

    public void setLiving(boolean living) {
        this.living = living;
    }

    public int getOnline() {
        return online;
    }

    public void setOnline(int online) {
        this.online = online;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getU3d_bg() {
        return u3d_bg;
    }

    public void setU3d_bg(String u3d_bg) {
        this.u3d_bg = u3d_bg;
    }

    public int getView_angle() {
        return view_angle;
    }

    public void setView_angle(int view_angle) {
        this.view_angle = view_angle;
    }

    public int getProject_style() {
        return project_style;
    }

    public void setProject_style(int project_style) {
        this.project_style = project_style;
    }

    public int getControl_model() {
        return control_model;
    }

    public void setControl_model(int control_model) {
        this.control_model = control_model;
    }

    public int getEye_style() {
        return eye_style;
    }

    public void setEye_style(int eye_style) {
        this.eye_style = eye_style;
    }

    public int getDome_horizontal() {
        return dome_horizontal;
    }

    public void setDome_horizontal(int dome_horizontal) {
        this.dome_horizontal = dome_horizontal;
    }

    public int getDome_vertical() {
        return dome_vertical;
    }

    public void setDome_vertical(int dome_vertical) {
        this.dome_vertical = dome_vertical;
    }

    public static class ChargeStrategyBean {
        private int price;
        /**
         * month : 5
         * discount : 0.75
         */

        private List<DiscountBean> discount;

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public List<DiscountBean> getDiscount() {
            return discount;
        }

        public void setDiscount(List<DiscountBean> discount) {
            this.discount = discount;
        }

        public static class DiscountBean {
            private int month;
            private double discount;

            public int getMonth() {
                return month;
            }

            public void setMonth(int month) {
                this.month = month;
            }

            public double getDiscount() {
                return discount;
            }

            public void setDiscount(double discount) {
                this.discount = discount;
            }
        }
    }
}
